package com.quick.develop.flowable.application;

import com.quick.develop.flowable.domain.dto.model.BpmModelElementsDTO;

import java.util.List;

/**
 * @author junyuan.liu
 * @description: 
 * @date 2022/5/18 13:27
 */
public interface IBpmModelApplication {
    /** 
     * @description 获取流程图元素  只获取  userTask、callActivity
     * @param key 流程定义Key
     * @return java.util.List<com.quick.develop.flowable.domain.dto.model.BpmModelElements>
     * @author junyuan.liu
     * @date 2022/8/26 14:50
     */ 
    List<BpmModelElementsDTO> getModelElementsByProcessDefinitionKey(String key);
    
    /** 
     * @description 获取流程图元素  只获取  userTask、callActivity
     * @param id 流程定义id
     * @return java.util.List<com.quick.develop.flowable.domain.dto.model.BpmModelElementsDTO>
     * @author junyuan.liu
     * @date 2022/9/16 15:46
     */ 
    List<BpmModelElementsDTO> getModelElementsByProcessDefinitionId(String id);


}
